{template 'web/common/common'}
{template 'web/article/navbar'}
<link rel="stylesheet" type="text/css" href="../addons/{php echo $_GPC['m']}/resource/swal/dist/sweetalert2.min.css" />
<link rel="stylesheet" type="text/css" href="../addons/kundian_farm/resource/css/layui.css" />
<link rel="stylesheet" type="text/css" href="../addons/kundian_farm/resource/css/new-common.css" />
<blockquote class="layui-elem-quote">
  资讯分类新增/编辑
</blockquote> 

<form action="{url 'site/entry/article',array('m'=>'kundian_farm','op'=>'article_type_save','version_id'=>$_GPC['version_id'],'cate_id'=>15)}" method="post">
	 <div class="layui-form-item">
	    <label class="layui-form-label">分类名称</label>
	    <div class="layui-input-block">
	      <input type="text" name="type_name" value="{$list['type_name']}"  placeholder="分类名称" class="layui-input">
	    </div>
	  </div>

	 <div class="layui-form-item">
	    <label class="layui-form-label">排序</label>
	    <div class="layui-input-block">
	      <input type="number" name="rank"  value="{$list['rank']}" class="layui-input">
	    </div>
	 </div>

	<div class="layui-form-item">
	    <div class="layui-input-block">
	    	<input type="hidden" name="id" value="{$list['id']}">
	      <button class="layui-btn" lay-submit="" lay-filter="demo1">保存</button>
	    </div>
	</div>

</form>  